Adds the items in the specified collection to the end of the collection.
Syntax
'Declaration
Public Overridable Sub AddRange( _
ByVal As System.Collections.Generic.IList(Of T) _
)
'Usage
Dim instance As NotifyCollectionBase(Of T)
Dim items As System.Collections.Generic.IList(Of T)
instance.AddRange(items)
public virtual void AddRange(
System.Collections.Generic.IList<T>
)
Parameters
- items
- The collection whose items should be added to the end of the collection.
Exceptions
Exception | Description |
System.NotSupportedException | The collection is read-only. |
See Also